<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>登录</title>
</head>
<body>
<form:form action="login" modelAttribute="user" >
<form:errors></form:errors>
<table>
	<tr>
		<td>用户名</td>
		<td><form:input path="name" /></td>
	</tr>

	<tr>
		<td>密码</td>
		<td><form:password path="password" /></td>
	</tr>
	<tr>
		<td></td>
		<td><input type="submit" value="提交" /> </td>
	</tr>
</table>
</form:form>

</body>
</html>